<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ShipCAD: OpenGLWindow Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ShipCAD
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="classOpenGLWindow-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenGLWindow Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="openglwindow_8h_source.html">openglwindow.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for OpenGLWindow:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classOpenGLWindow.png" usemap="#OpenGLWindow_map" alt=""/>
  <map id="OpenGLWindow_map" name="OpenGLWindow_map">
<area href="classShipCAD_1_1Viewport.html" alt="ShipCAD::Viewport" shape="rect" coords="67,112,191,136"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr class="memitem:abea9e50147496e5110b86f03122fbece"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#abea9e50147496e5110b86f03122fbece">renderLater</a> ()</td></tr>
<tr class="separator:abea9e50147496e5110b86f03122fbece"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8398ed62d646739fe54fae94c477ad1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a8398ed62d646739fe54fae94c477ad1d">renderNow</a> ()</td></tr>
<tr class="separator:a8398ed62d646739fe54fae94c477ad1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a90bb7dbb2dcb27b1fdc56ef4ef3f25fc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a90bb7dbb2dcb27b1fdc56ef4ef3f25fc">OpenGLWindow</a> (QWindow *parent=0)</td></tr>
<tr class="separator:a90bb7dbb2dcb27b1fdc56ef4ef3f25fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa220b192c71871aab9100f4058a8d62d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#aa220b192c71871aab9100f4058a8d62d">~OpenGLWindow</a> ()</td></tr>
<tr class="separator:aa220b192c71871aab9100f4058a8d62d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add04ac504dabc486b3847b107e8f1384"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#add04ac504dabc486b3847b107e8f1384">clearBackground</a> ()=0</td></tr>
<tr class="separator:add04ac504dabc486b3847b107e8f1384"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a15a4a8fc68d4318f3a59e884db1497"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a0a15a4a8fc68d4318f3a59e884db1497">renderWithPainter</a> (QPainter *painter)=0</td></tr>
<tr class="separator:a0a15a4a8fc68d4318f3a59e884db1497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0cf1ae550a2827b513bfde10f7e97b6"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#aa0cf1ae550a2827b513bfde10f7e97b6">renderOpenGL</a> ()=0</td></tr>
<tr class="separator:aa0cf1ae550a2827b513bfde10f7e97b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed4e2ee22e113b2f7e7d1eba4ef1b965"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#aed4e2ee22e113b2f7e7d1eba4ef1b965">initialize</a> ()</td></tr>
<tr class="separator:aed4e2ee22e113b2f7e7d1eba4ef1b965"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68317e3284d7b0ffba262eac059b6b9e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a68317e3284d7b0ffba262eac059b6b9e">setAnimating</a> (bool animating)</td></tr>
<tr class="separator:a68317e3284d7b0ffba262eac059b6b9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a1e3045cffb900de55b7384f5091c9d94"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a> (QEvent *event)</td></tr>
<tr class="separator:a1e3045cffb900de55b7384f5091c9d94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a991121ba7a4bbfa208fa74e5c86004c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#a991121ba7a4bbfa208fa74e5c86004c3">exposeEvent</a> (QExposeEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:a991121ba7a4bbfa208fa74e5c86004c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0e1d4dc039ce114ac615ce1dee38e51"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classOpenGLWindow.html#ae0e1d4dc039ce114ac615ce1dee38e51">resizeEvent</a> (QResizeEvent *<a class="el" href="classOpenGLWindow.html#a1e3045cffb900de55b7384f5091c9d94">event</a>)</td></tr>
<tr class="separator:ae0e1d4dc039ce114ac615ce1dee38e51"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="openglwindow_8h_source.html#l00075">75</a> of file <a class="el" href="openglwindow_8h_source.html">openglwindow.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a90bb7dbb2dcb27b1fdc56ef4ef3f25fc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">OpenGLWindow::OpenGLWindow </td>
          <td>(</td>
          <td class="paramtype">QWindow *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00076">76</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa220b192c71871aab9100f4058a8d62d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpenGLWindow::~OpenGLWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00086">86</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="add04ac504dabc486b3847b107e8f1384"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void OpenGLWindow::clearBackground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classShipCAD_1_1Viewport.html#ac0c02d6e3a0933669de2292f041c69e6">ShipCAD::Viewport</a>.</p>

</div>
</div>
<a class="anchor" id="a1e3045cffb900de55b7384f5091c9d94"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool OpenGLWindow::event </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00105">105</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a991121ba7a4bbfa208fa74e5c86004c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::exposeEvent </td>
          <td>(</td>
          <td class="paramtype">QExposeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00116">116</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aed4e2ee22e113b2f7e7d1eba4ef1b965"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reimplemented in <a class="el" href="classShipCAD_1_1Viewport.html#a9c35de3f7c9d7c860c494081b48309b3">ShipCAD::Viewport</a>.</p>

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00091">91</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="abea9e50147496e5110b86f03122fbece"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::renderLater </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00097">97</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a8398ed62d646739fe54fae94c477ad1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::renderNow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">slot</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00132">132</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa0cf1ae550a2827b513bfde10f7e97b6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void OpenGLWindow::renderOpenGL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classShipCAD_1_1Viewport.html#ae1a93920fcaf1b6eaa46d390bbd15ce4">ShipCAD::Viewport</a>.</p>

</div>
</div>
<a class="anchor" id="a0a15a4a8fc68d4318f3a59e884db1497"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void OpenGLWindow::renderWithPainter </td>
          <td>(</td>
          <td class="paramtype">QPainter *&#160;</td>
          <td class="paramname"><em>painter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="classShipCAD_1_1Viewport.html#ad48bfa81c7034792f290ed47bac203c5">ShipCAD::Viewport</a>.</p>

</div>
</div>
<a class="anchor" id="ae0e1d4dc039ce114ac615ce1dee38e51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::resizeEvent </td>
          <td>(</td>
          <td class="paramtype">QResizeEvent *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00124">124</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a68317e3284d7b0ffba262eac059b6b9e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpenGLWindow::setAnimating </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>animating</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="openglwindow_8cpp_source.html#l00173">173</a> of file <a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>ShipCADlib/<a class="el" href="openglwindow_8h_source.html">openglwindow.h</a></li>
<li>ShipCADlib/<a class="el" href="openglwindow_8cpp_source.html">openglwindow.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Feb 25 2018 15:36:00 for ShipCAD by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
